package com.lrkj.workorder.domain;

import com.lrkj.common.annotation.Excel;
import com.lrkj.common.core.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * 工单模板对象 tb_work_order_temp
 *
 * @author yajun_ren
 * @date 2022-04-18
 */
@Data
public class WorkOrderTemp extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** id主键 */
    private String id;

    /** 模板代码 */
    @Excel(name = "模板代码")
    private String tempCode;

    /** 模板名称 */
    @Excel(name = "模板名称")
    private String tempName;

    /** 页面内容 */
    @Excel(name = "页面内容")
    private String tempJson;

    /** 版本号 */
    @Excel(name = "版本号")
    private String tempVersion;



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("tempCode", getTempCode())
            .append("tempName", getTempName())
            .append("tempJson", getTempJson())
            .append("tempVersion", getTempVersion())
            .append("createBy", getCreateBy())
            .append("createTime", getCreateTime())
            .append("updateBy", getUpdateBy())
            .append("updateTime", getUpdateTime())
            .append("remark", getRemark())
            .toString();
    }
}
